#include "Button.h"


bool Button::CheckIfPressed(POINT& point)
{
	int i = 0;
	bool buttonpressed = false;

	if(PtInRect(&m_buttonRECT, point) == TRUE)
	{
		buttonpressed = true;
		point.x = 0;
		point.y = 0;
		return true;
	}

	else
		return false;
	return false;
}

void Button::SetIfDrawing(bool setdraw)
{
	m_bDrawing = setdraw;
}